From: Carlos Garnacho Date: Tue, 30 Dec 2025 13:35:21 +0000 (+0100) Subject: grabHelper: Drop seat state check after grab X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~39^2~1^2~61 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=3e5b18bb11a24066fcd6aa163144534309b54df6;p=gnome-shell.git grabHelper: Drop seat state check after grab Grabs are non-failable now, we do not need to check for the backend seat actually having been able to perform the request. Part-of: --- diff --git a/js/ui/grabHelper.js b/js/ui/grabHelper.js index 9212c1684..0e287d018 100644 --- a/js/ui/grabHelper.js +++ b/js/ui/grabHelper.js @@ -154,11 +154,6 @@ export class GrabHelper { const firstGrab = this._modalCount === 0; if (firstGrab) { const grab = Main.pushModal(this._owner, this._modalParams); - if (grab.get_seat_state() !== Clutter.GrabState.ALL) { - Main.popModal(grab); - return false; - } - this._grab = grab; this._clickGesture = new Clutter.ClickGesture(); this._clickGesture.connect('recognize', () => {